import axios from "axios";

const instance = axios.create({
    baseURL : 'http://localhost:8888/api/private/v1/',
    timeout : 3000
})

instance.interceptors.request.use(function (config) {
    config.headers.Authorization = window.sessionStorage.getItem("token")
    return config;
})
export default instance